<template>
  <div class="yd-ls-message">
    <slot></slot>
  </div>
</template>

<style>

  .yd-ls-message {
    padding: 0.2rem;
    overflow: hidden;
    text-align: center;
  }

  .yd-ls-message i.msg-text {
    background: #bebebe;
    color: #fff;
    padding: 0.08rem 0.12rem;
    border-radius: 3px;
    margin-bottom: 0.3rem;
    display: inline-block;
    max-width: 90%;
    font-size: 0.24rem;
    line-height: 0.34rem;
    text-align: left;
  }

</style>
<script>
  import ydLsMessagePearl from './yd-ls-message-pearl.vue'
  export default {
      name: '',
      props: {
        classnames: String,
        messages: String,
        imgsrc: String
      },
      data() {
          return {
              onclassname: ''
          }
      },
      methods: {
        init () {
        }
      },
      mounted() {
        // 初始化
        this.init()
      },
      components: { ydLsMessagePearl }


  }
</script>

